package com.unhz.generator.dao;

import com.unhz.generator.pojo.ProductionRange;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ProductionRangeMapper {
    int deleteByPrimaryKey(Long id);

    int insertSelective(ProductionRange record);

    ProductionRange selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ProductionRange record);

    int updateByPrimaryKey(ProductionRange record);

    List<ProductionRange> selectByUserId(@Param("userId") Integer userId);

    void deleteByUserid(Integer id);
}